package com.lizhenhua.fmmall.mapper;

import com.lizhenhua.fmmall.entity.ProductSku;
import com.lizhenhua.fmmall.general.GeneralDao;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ProductSkuMapper extends GeneralDao<ProductSku> {
    // 根据商品id 查询商品中所有套餐价格最低的商品

    /**
     *
     * @param productId  商品id
     * @return
     */
    List<ProductSku> getSkuByproductId(@Param("productId") String productId);
}